package com.tinyblog.ajax2;
import org.jdom.*;

public class BlogListItem {
	private String itemid = "";
	private String itemname = "";
	private String itemurl = "";
	private String description = "";
	
	public BlogListItem() {
		
	}
	public BlogListItem(Element element) {
		this.setItemid(element.getAttributeValue("itemid"));
		this.setItemname(element.getChildText("itemname"));
		this.setItemurl(element.getChildText("itemurl"));
		this.setDescription(element.getChildText("description"));
	}
	public String getItemid() {
		return this.itemid;
	}
	public void setItemid(String itemid) {
		this.itemid = itemid;
	}
	public String getItemname() {
		return this.itemname;
	}
	public void setItemname(String itemname) {
		this.itemname = itemname;
	}
	public String getItemurl() {
		return this.itemurl;
	}
	public void setItemurl(String itemurl) {
		this.itemurl = itemurl;
	}
	public String getDescription() {
		return this.description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
